package com.iweb.work;

public class Book3 {
    private String title;
    private int    pageNum;
    private String type;
    public Book3(){

    }
    public Book3(String title,int pageNum,String type) {
        this.pageNum=pageNum;
        this.title=title;
        this.type=type;
    }
    public void detail(){
        System.out.println(this.type+"类"+"\t"+"书本名称为:"+this.title+"\t"+this.pageNum+"页");
    }

}
